home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
mus
/
DiskChanger
/
DiskChanger.Doc
next >
Wrap
Text File
|
1996-06-21
|
7KB
|
191 lines
DiskChanger
Documentation of the Diskchanger-Genie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Copyright © 1995 by Daniel Balster,
All Rights Reserved.
READY.
What is Diskchanger ?
---------------------
Delitracker can create and use program lists. This lists are useful
if you have many modules on CDROM or other type of media.
"DiskChanger" observes now a given device and if a medium has changed
it loads its program list. favorites for this job are CDROMs, like
CD0: is.
If you change now a CD DeliTracker will load its list; music is
playing now continously, no matter if you change a CD during your work.
Usage of the Diskchanger Genie
------------------------------
(a) Create a database
First you have to create program lists for each medium that you want to be
recognized during a mediachange; this could be whole index of the medium
or just a selection. Use DeliTracker to create this lists.
Since you have created all this lists you must enter them in a kind of
database, and that looks like this: (for some well known CDs)
-8<-cut-here----------------------------------------------------------------------
; media database for delitracker
AMINET_0794: AUDIO:DeliTracker/DeliConfig/aminet3.program
AMINET4: AUDIO:DeliTracker/DeliConfig/aminet4.program
AMINET5: AUDIO:DeliTracker/DeliConfig/aminet5.program
AMINET6: AUDIO:DeliTracker/DeliConfig/aminet6.program
AMINET7: AUDIO:DeliTracker/DeliConfig/aminet7.program
SET1D: AUDIO:DeliTracker/DeliConfig/aminetset1.program
Asmrom94: AUDIO:DeliTracker/DeliConfig/assembly94.program
Meeting_Pearls_I: AUDIO:DeliTracker/DeliConfig/meetingpearls1.program
Meeting_Pearls_II: AUDIO:DeliTracker/DeliConfig/meetingpearls2.program
ModulesMagic: AUDIO:DeliTracker/DeliConfig/modulesmagic.program
; this is the default fallback, if no CD is inserted
default: AUDIO:DeliTracker/DeliConfig/actual.program
----------------------------------------------------------------------------------
On the left you can see the exact volume name and on the right you
can find the name and path of the volumes' program list. lines that
begin with the colon (;) can be used as comments.
The "default:" entry has a special function: this program will always
be loaded, if the volume can't be found in the database or the drive
is just empty. Make sure that the "default:" program contains only of
always available modules, this are modules on your internal harddrive,
you can keep your favorites there!
You can find two shell scripts in the "DiskChanger" distribution,
they're needed to parse the database; DeliInsertDisk and DeliRemoveDisk.
entsprechenden Aktionen aufgerufen.
(b) activating and configuring the genie
Choose "ADD" in the "Genies" Dialog of Delitracker and add the "DiskChanger"
Genie (for a permanent usage just copy it into the DeliGenies/ drawer).
Select now "DiskChanger" and click on "SHOW". Here comes an explanation
of the gadgets
------------------------------------------------------------
______________________________________________
Insert Delay |______________#_______________________________|
______________________________________________
Remove Delay |______________#_______________________________|
______________________________________________
New Program |@|__________Load and play immediately_________|
______________________________________________
Database |______________________________________________|
______________________________________________
Devicename |______________________________________________|
______________________________________________
Insertscript |______________________________________________|
______________________________________________
Removescript |______________________________________________|
_____________ _____________ _____________
|____About____| |_____Save____| |_____Hide____|
------------------------------------------------------------
Database Enter the name and path of your database here.
Example: "S:media.database"
Devicename Enter the device to notify here. Only a device
name is allowed that is also listed in the out-
put of the command "ASSIGN DEVICES"
Example: "CD0:"
Insertscript Enter here, where you have copied the delivered
script "DeliInsertDisk". In this gadget the call
parameters are defined. No long words, enter
"EXECUTE S:DELIINSERTSCRIPT %s %s"
here.
Removescript The same as for "Insertscript", but enter
"EXECUTE S:DELIREMOVESCRIPT %s"
here.
Save saves the configuration
About shows some information about the author
Hide hides the window.
New_Programm There are three ways how to handle new programs:
"Load and play immediatly"
- loads the program and plays it immediatly
"Load, but do not play"
- loads the program, but does not start it
"Load and wait for SongEnd"
- this should wait for the current module to finish,
but this DOES NOT WORK yet. do not use.
Insert Delay
Remove Delay Some drive types (like CD, TAPE and MO drives) need
some spindle and access time. normally, if you have
inserted a new CD, the genie will try IMMEDIATELY to
access the new modules on there. this would cause a
"Please insert disk xyz" request. with this two delays
you can specify the delays before it should access
the new lists.
With "InsertDelay" you specify the delay before a new
medium is accessed.
With "RemoveDelay" you specify the (longer) delay before
the "default:" program is to be loaded. this is needed,
because changing a CD manually takes time; and even
if it took a second the genie would load the default program.
with this slider you can prevent this behaviour.
both values are custom and depend on your configuration!
just try!
(c) misc
Look into the menubar of the genies' window, read the delitracker docs how
to use them.
This Genie is a hybrid-program. it makes use of external software.
Software Comment
------------------------------------------------------------------------
Execute standard (should be resident)
C:RequestChoice standard since OS 3.0
sys:rexxc/rx standard (AREXX)
C:Type standard (shell)
C:Search standard (shell)
PIPE: Pipe-Handler (DEVS:DOSDRIVERS/PIPE or Mount PIPE:)
If your amiga system is configured well this all should be no problem.
------------------------------------------------------------------------
Refer to the DeliTracker documentation for further details.
------------------------------------------------------------------------
Questions ? Comments ? Bugs ?
Daniel Balster, dbalster@uni-paderborn.de oder dbalster#amigager (irc)
Max-Reger Weg 48
33100 Paderborn
------------------------------------------------------------------------
(note: I have problems in writing and thinking english, I hope you
have understood all this - if not drop me an email or smail)